<template>
	<view>
		<view class="u-flex user-box u-p-l-30 u-p-r-20 u-p-b-30" v-for="(item,index) in list" :key="index">
			<view class="u-m-r-10">
				<u-avatar :src="item.headpic" size="140"></u-avatar>
			</view>
			<view class="u-flex-1">
				<view class="u-font-18 u-p-b-20">{{item.nickname}}</view>
				
			</view>
			<!-- <view class="u-m-l-10 u-p-10">
				<u-icon name="scan" color="#969799" size="28"></u-icon>
			</view>
			<view class="u-m-l-10 u-p-10">
				<u-icon name="arrow-right" color="#969799" size="28"></u-icon>
			</view> -->
		</view>
	</view>
</template>

<script>
	import UserModel from '../../model/user.js'
	export default {
		data() {
			return {
				list:[]
			}
		},
		onLoad() {
			this.get_data()
		},
		methods: {
			get_data(){
				UserModel.get_invite_user().then(res=>{
					this.list=res.data
				})
			}
		}
	}
</script>

<style>

</style>
